let web3 = require('../utils/initweb3')
let contractAddress = "0x099BC2B6Ee2439e3685739246a1f2753dd7242f1"
//这里用绝对路径，不然会出错
let {interface1} = require('E:\\lotter-pro\\src\\compile')
console.log(interface1)
let contractInstance = new web3.eth.Contract(JSON.parse(interface1),contractAddress)
console.log(contractInstance)
module.exports = contractInstance
